home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 September / PCWorld_2008-09_cd.bin / v cisle / sadanastroju / lightning-0.8-tb-win.xpi / chrome / calendar.jar / content / calendar / calendar-task-view.xul < prev    next >
Extensible Markup Language  |  2008-02-19  |  9KB  |  184 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is Sun Microsystems code.
  16.    -
  17.    - The Initial Developer of the Original Code is Sun Microsystems.
  18.    - Portions created by the Initial Developer are Copyright (C) 2006
  19.    - the Initial Developer. All Rights Reserved.
  20.    -
  21.    - Contributor(s):
  22.    -   Michael Buettner <michael.buettner@sun.com>
  23.    -   Philipp Kewisch <mozilla@kewis.ch>
  24.    -
  25.    - Alternatively, the contents of this file may be used under the terms of
  26.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  27.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.    - in which case the provisions of the GPL or the LGPL are applicable instead
  29.    - of those above. If you wish to allow use of your version of this file only
  30.    - under the terms of either the GPL or the LGPL, and not to allow others to
  31.    - use your version of this file under the terms of the MPL, indicate your
  32.    - decision by deleting the provisions above and replace them with the notice
  33.    - and other provisions required by the GPL or the LGPL. If you do not delete
  34.    - the provisions above, a recipient may use your version of this file under
  35.    - the terms of any one of the MPL, the GPL or the LGPL.
  36.    -
  37.    - ***** END LICENSE BLOCK ***** -->
  38.  
  39. <?xml-stylesheet type="text/css" href="chrome://global/skin/global.css"?>
  40. <?xml-stylesheet type="text/css" href="chrome://calendar/skin/calendar-task-view.css"?>
  41. <?xml-stylesheet type="text/css" href="chrome://calendar/content/calendar-bindings.css"?>
  42.  
  43. <!DOCTYPE overlay [
  44.   <!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd1;
  45.   <!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/sun-calendar-event-dialog.dtd" > %dtd2;
  46. ]>
  47.  
  48. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  49.   <script type="application/x-javascript" src="chrome://calendar/content/calendar-task-tree.js"/>
  50.   <script type="application/x-javascript" src="chrome://calendar/content/calendar-task-view.js"/>
  51.   <script type="application/x-javascript" src="chrome://calendar/content/calendar-dialog-utils.js"/>
  52.   <script type="application/x-javascript" src="chrome://calendar/content/calApplicationUtils.js"/>
  53.   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
  54.  
  55.   <vbox id="displayDeck">
  56.     <vbox id="calendar-task-box" flex="1"
  57.           onselect="taskDetailsView.onSelect(event);">
  58.       <textbox id="view-task-edit-field"
  59.                class="task-edit-field"
  60.                value="&calendar.task.edit.instructions.label;"
  61.                instructions="&calendar.task.edit.instructions.label;"
  62.                onfocus="taskEdit.onFocus(event)"
  63.                onblur="taskEdit.onBlur(event)"
  64.                onkeypress="taskEdit.onKeyPress(event)"/>
  65.       <vbox flex="1">
  66.         <calendar-task-tree id="calendar-task-tree" flex="1"
  67.                             visible-columns="completed priority title startdate duedate"
  68.                             persist="visible-columns ordinals widths sort-active sort-direction height"
  69.                             context="taskitem-context-menu"
  70.                             onselect="document.commandDispatcher.updateCommands('calendar_commands')"/>
  71.         <splitter id="calendar-task-view-splitter" collapse="none" persist="state"/>
  72.         <vbox id="calendar-task-details-container" flex="1">
  73.           <hbox id="calendar-task-details">
  74.             <grid id="calendar-task-details-grid-left">
  75.               <columns>
  76.                 <column/>
  77.                 <column/>
  78.               </columns>
  79.               <rows>
  80.                 <row id="calendar-task-details-title-row"
  81.                      align="top"
  82.                      hidden="true">
  83.                   <label value="&calendar.task.details.title.label;"
  84.                          class="task-details-name"/>
  85.                   <label id="calendar-task-details-title"
  86.                          class="task-details-value"/>
  87.                 </row>
  88.                 <row id="calendar-task-details-organizer-row"
  89.                      align="top"
  90.                      hidden="true">
  91.                   <label value="&calendar.task.details.organizer.label;"
  92.                          class="task-details-name"/>
  93.                   <label id="calendar-task-details-organizer"
  94.                          class="task-details-value text-link"
  95.                          onclick="sendMailToOrganizer()"/>
  96.                 </row>
  97.                 <row id="calendar-task-details-priority-row"
  98.                      align="top"
  99.                      hidden="true">
  100.                   <label value="&calendar.task.details.priority.label;"
  101.                          class="task-details-name"/>
  102.                   <label id="calendar-task-details-priority-low"
  103.                          value="&calendar.task.details.priority.low.label;"
  104.                          class="task-details-value"
  105.                          hidden="true"/>
  106.                   <label id="calendar-task-details-priority-normal"
  107.                          value="&calendar.task.details.priority.normal.label;"
  108.                          class="task-details-value"
  109.                          hidden="true"/>
  110.                   <label id="calendar-task-details-priority-high"
  111.                          value="&calendar.task.details.priority.high.label;"
  112.                          class="task-details-value"
  113.                          hidden="true"/>
  114.                 </row>
  115.                 <row id="calendar-task-details-status-row"
  116.                      align="top"
  117.                      hidden="true">
  118.                   <label value="&calendar.task.details.status.label;"
  119.                          class="task-details-name"/>
  120.                   <label id="calendar-task-details-status"
  121.                          class="task-details-value"/>
  122.                 </row>
  123.                 <row id="calendar-task-details-category-row"
  124.                      align="top"
  125.                      hidden="true">
  126.                   <label value="&calendar.task.details.category.label;"
  127.                          class="task-details-name"/>
  128.                   <label id="calendar-task-details-category"
  129.                          class="task-details-value"/>
  130.                 </row>
  131.               </rows>
  132.             </grid>
  133.             <grid id="calendar-task-details-grid-right">
  134.               <columns>
  135.                 <column/>
  136.                 <column/>
  137.               </columns>
  138.               <rows>
  139.                 <row id="calendar-task-details-entrydate-row"
  140.                      align="top"
  141.                      hidden="true">
  142.                   <label value="&calendar.task.details.entrydate.label;"
  143.                          class="task-details-name"/>
  144.                   <label id="calendar-task-details-entrydate"
  145.                          class="task-details-value"/>
  146.                 </row>
  147.                 <row id="calendar-task-details-duedate-row"
  148.                      align="top"
  149.                      hidden="true">
  150.                   <label value="&calendar.task.details.duedate.label;"
  151.                          class="task-details-name"/>
  152.                   <label id="calendar-task-details-duedate"
  153.                          class="task-details-value"/>
  154.                 </row>
  155.                 <row id="calendar-task-details-repeat-row"
  156.                      align="top"
  157.                      hidden="true">
  158.                   <label value="&calendar.task.details.repeat.label;"
  159.                          class="task-details-name"/>
  160.                   <label id="calendar-task-details-repeat"
  161.                          class="task-details-value"/>
  162.                 </row>
  163.               </rows>
  164.             </grid>
  165.           </hbox>
  166.           <textbox id="calendar-task-details-description" multiline="true" flex="1"/>
  167.           <hbox id="calendar-task-details-attachment-row"
  168.                align="top"
  169.                hidden="true">
  170.             <label value="&event.link.label;"
  171.                    class="task-details-name"/>
  172.             <label id="calendar-task-details-attachment"
  173.                    class="text-link"
  174.                    crop="end"
  175.                    flex="1"
  176.                    onclick="launchBrowser(this.value)"/>
  177.           </hbox>
  178.         </vbox>
  179.       </vbox>
  180.     </vbox>
  181.   </vbox>
  182.  
  183. </overlay>
  184.